package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.ClassQaAnswer;

import java.util.List;

public interface ClassQaAnswerService {
    int addClassQaAnswer(ClassQaAnswer classQaAnswer);
    int deleteClassQaAnswer(int id);
    int updateClassQaAnswer(ClassQaAnswer classQaAnswer);
    ClassQaAnswer getById(int id);
    PageInfo<ClassQaAnswer> getByPage(ClassQaAnswer classQaAnswer,int pageNum,int pageSize);
}
